package com.lyz.myself.service;

import com.lyz.myself.pojo.Po.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: myself
 * @Date: 2019/2/20 16:36
 * @Author: Mr.Deng
 * @Description:
 */
public interface RoleService {

    /**
     *添加
     * @mbg.generated 2019-01-15
     */
    int insert(Role record);

    /**
     *根据position    id查询role_id
     */
    Role getRole(Integer position_id,Integer company_id);

    /**
     *删除关系
     * @mbg.generated 2019-01-15
     */
    int deleteRole(Integer role_id);
}
